package org.zhigong.dao;

import org.apache.ibatis.annotations.Param;
import org.zhigong.entity.Menu;

import java.util.List;

/**
 * Created by Administrator on 2018/5/8 0008.
 */
public interface MenuDao {

    int insertMenu(Menu menu);

    int deleteMenu(@Param("id") Long id);

    int updateMenu(Menu menu);

    Menu queryById(@Param("id") Long id);

    List<Menu> getAll();

    List<Menu> selectByPage(Menu menu);
}
